FROM keymetrics/pm2:16-slim
RUN rm -rf /usr/src/app
ADD . /usr/src/app
WORKDIR /usr/src/app
RUN npm install pnpm -g
RUN pnpm install
EXPOSE 3000
CMD npm run pro
# CMD ["pm2-runtime","start","process.yml"]